package com.bishe.psy.model;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Article {

    //关联文章表和咨询师表映射信息
    private ConUser conUser;

    private Long id;

    private Long userId;

    private String title;

    private Integer visitCount;

    private Integer replyCount;

    private Integer likeCount;

    private Byte deleteState;

    private Date createState;

    private Date updateState;

    private String content;

    private boolean isOwn = false;

    //关联文章表和点赞表
    private LikeArticle likeArticle;
}